-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add callback 'onStepBegin' #39
base: master
Are you sure you want to change the base?
Conversation
Hello. |
is QuestionStep -> { | ||
Log.w ("ASDF", "step '${step?.id}': ${step.title} (${step.text})") | ||
} | ||
else -> | ||
Log.w ("ASDF", "step '${step?.id}'") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would show a Toast or something in the View
just to make sure view interactions do not break. But logs are fine as well 👍
@roedll That should not be part of the "library" configuration, but rather the action of that step. |
Thanks for the suggestion, but I think in our use case as custom step wouldn't help: We want to be able to present the questions also via Text-To-Speech to the user when they are displayed. So the already available steps are enough for us for now... I think my description wasn't that clear in my original post ;-) |
In our use case we need the information when a certain step is displayed.
Thus we added another callback called
onStepBegin